package com.naizhuai.network;

import java.io.File;

import okhttp3.ResponseBody;

/**
 * Created by code_han on 2018/3/28.
 */

public interface DownloadFileListener {


    File download(ResponseBody responseBody);

    void onCompleted();

    void onError(Throwable e);

    void onNext(File file);
}
